| Package | hl7.v2plus |
| Resource Type | StructureDefinition |
| Id | ERL |
| FHIR Version | R5 |
| Source | http://somewhere.org/fhir/uv/v2plus/https://build.fhir.org/ig/HL7/v2ig/StructureDefinition-ERL.html |
| URL | http://hl7.org/v2/StructureDefinition/ERL |
| Version | 0.0.0 |
| Status | active |
| Date | 2025-08-11T19:32:53+00:00 |
| Name | ERL |
| Title | HL7 v2 ERL Data Type |
| Authority | hl7 |
| Description | *Note: If used in the Error segment (ERR) in Error Location (ERR-2), then it defines where the error has occurred. If used in the Access Restrictions segment (ARV) in Access Restricted HL7.Message Elements (ARV-8) then it identifies the data, the security labels as defined in other attributes of the same ARV segment apply to.* |
| Type | http://hl7.org/v2/StructureDefinition/ERL |
| Kind | logical |
No resources found
| StructureDefinition | |
| SI | HL7 v2 SI Primtive Type |
| ST | HL7 v2 String Primitive Type |
| complex-data-type | HL7 v2 Complex Data Type |
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureDefinition ERL
Profile: HL7 v2 Complex Data Type Profile
| Name | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
![]() | 0..* | V2ComplexDataType | Message location | |
![]() ![]() | 1..1 | string | Segment ID | |
![]() ![]() | 1..1 | integer | Segment Sequence | |
![]() ![]() | 0..1 | integer | Field Position | |
![]() ![]() | 0..1 | integer | Field Repetition | |
![]() ![]() | 0..1 | integer | Component Number | |
![]() ![]() | 0..1 | integer | Sub-Component Number | |
{
"resourceType": "StructureDefinition",
"id": "ERL",
"meta": {
"profile": [
"http://hl7.org/v2/StructureDefinition/complex-data-type-profile"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://somewhere.org/fhir/uv/v2plus/ImplementationGuide/hl7.other.uv.v2plus"
}
]
}
}
],
"url": "http://hl7.org/v2/StructureDefinition/ERL",
"version": "0.0.0",
"name": "ERL",
"title": "HL7 v2 ERL Data Type",
"status": "active",
"date": "2025-08-11T19:32:53+00:00",
"publisher": "HL7 International",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/Special/committees/v2mgmt"
}
]
}
],
"description": "*Note: If used in the Error segment (ERR) in Error Location (ERR-2), then it defines where the error has occurred. If used in the Access Restrictions segment (ARV) in Access Restricted HL7.Message Elements (ARV-8) then it identifies the data, the security labels as defined in other attributes of the same ARV segment apply to.*",
"fhirVersion": "5.0.0",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "logical",
"abstract": false,
"type": "http://hl7.org/v2/StructureDefinition/ERL",
"baseDefinition": "http://hl7.org/v2/StructureDefinition/complex-data-type",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.0.0"
}
],
"element": [
{
"id": "ERL",
"path": "ERL",
"short": "Message location",
"definition": "Definition: This data type identifies the segment and its constituent , if applicable, where the context of the element in which it is used applies.",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "ERL.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
},
{
"extension": [
{
"url": "min",
"valueInteger": 3
},
{
"url": "max",
"valueInteger": 3
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "ERL.1",
"short": "Segment ID",
"min": 1,
"max": "1",
"base": {
"path": "ERL.1",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "ERL.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
}
],
"path": "ERL.2",
"short": "Segment Sequence",
"min": 1,
"max": "1",
"base": {
"path": "ERL.2",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.3",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "C"
}
],
"path": "ERL.3",
"short": "Field Position",
"min": 0,
"max": "1",
"base": {
"path": "ERL.3",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.4",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "ERL.4",
"short": "Field Repetition",
"min": 0,
"max": "1",
"base": {
"path": "ERL.4",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.5",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "C"
}
],
"path": "ERL.5",
"short": "Component Number",
"min": 0,
"max": "1",
"base": {
"path": "ERL.5",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.6",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "ERL.6",
"short": "Sub-Component Number",
"min": 0,
"max": "1",
"base": {
"path": "ERL.6",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
}
]
},
"differential": {
"element": [
{
"id": "ERL",
"path": "ERL",
"short": "Message location",
"definition": "Definition: This data type identifies the segment and its constituent , if applicable, where the context of the element in which it is used applies.",
"min": 0,
"max": "*"
},
{
"id": "ERL.1",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
},
{
"extension": [
{
"url": "min",
"valueInteger": 3
},
{
"url": "max",
"valueInteger": 3
}
],
"url": "http://hl7.org/v2/StructureDefinition/length"
}
],
"path": "ERL.1",
"short": "Segment ID",
"min": 1,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/ST"
}
]
},
{
"id": "ERL.2",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "R"
}
],
"path": "ERL.2",
"short": "Segment Sequence",
"min": 1,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.3",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "C"
}
],
"path": "ERL.3",
"short": "Field Position",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.4",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "ERL.4",
"short": "Field Repetition",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.5",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "C"
}
],
"path": "ERL.5",
"short": "Component Number",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
},
{
"id": "ERL.6",
"extension": [
{
"url": "http://hl7.org/v2/StructureDefinition/optionality",
"valueCode": "O"
}
],
"path": "ERL.6",
"short": "Sub-Component Number",
"min": 0,
"max": "1",
"type": [
{
"code": "http://hl7.org/v2/StructureDefinition/SI"
}
]
}
]
}
}